package com.haredot.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.haredot.entity.Advert;
import com.haredot.entity.Swiper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SwiperMapper {

    @DS("rbac")
    List<Swiper> findAllSwiper(@Param("sysRemark") String sysRemark);

    @DS("rbac")
    Advert findAdvertByRank(@Param("sysRemark") String applicationName);
}